package com.mkvld.appietijdenv2;

import android.os.Bundle;

import com.mkvld.appietijdenv2.activities.ActV9;
import com.mkvld.appietijdenv2.fragments.FragBreaksV9;
import com.mkvld.appietijdenv2.fragments.FragInfoV9;

public class ActBlankGB extends ActV9 {
	public static final int FRAG_BREAKS = 0;
	public static final int FRAG_INFO = 1;
	
	@Override
	protected void onCreate(Bundle arg0) {
		super.onCreate(arg0);
		
		switch (getIntent().getIntExtra("frag", -1)) {
		case FRAG_BREAKS:
			getSupportFragmentManager().beginTransaction()
				.replace(android.R.id.content, new FragBreaksV9())
				.commit();
			break;
		case FRAG_INFO:
			getSupportFragmentManager().beginTransaction()
				.replace(android.R.id.content, new FragInfoV9())
				.commit();
			break;

		default:
			break;
		}
	}

	@Override
	protected boolean shouldInit() {
		
		return false;
	}

	@Override
	public void update() {
		
	}

}
